﻿/*
 * 由SharpDevelop创建。
 * 用户： lucifer
 * 日期: 2011/3/18
 * 时间: 0:36
 * 
 * 要改变这种模板请点击 工具|选项|代码编写|编辑标准头文件
 */
using System;

namespace Yidu.Persister
{
	/// <summary>
	/// Description of DaoFactory.
	/// </summary>
	public class DaoFactory
	{
		private DaoFactory()
		{
		}
		
		private static DaoFactory factory = new DaoFactory();
		private IDao dao = new BaseDao();
		
		public static DaoFactory Instance{
			get{
				return factory;
			}
		}
		
		public IDao Dao{
			get{
				return dao;
			}
		}
	}
}
